package br.sed.theenemy.presentation.form;

import java.util.List;

import org.apache.struts.validator.ValidatorForm;

import br.sed.theenemy.presentation.vo.UserVO;

/**
 * 
 * @author JulioCB
 * @email jcbjulio@gmail.com
 * 
 */
public final class SearchForm extends ValidatorForm {
    	
	private static final long serialVersionUID = -900335848195474030L;
	
	private String name;
    private int page;
    private int max;
    
    private List<UserVO> user;
    
    private boolean userLogged = true;
    private boolean invalid = false;
    
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getMax() {
		return max;
	}
	public void setMax(int max) {
		this.max = max;
	}
	public List<UserVO> getUser() {
		return user;
	}
	public void setUser(List<UserVO> user) {
		this.user = user;
	}
    public boolean isUserLogged() {
        return userLogged;
    }
    public void setUserLogged(boolean userLogged) {
        this.userLogged = userLogged;
    }
    public boolean isInvalid() {
        return invalid;
    }
    public void setInvalid(boolean invalid) {
        this.invalid = invalid;
    }
    
}